﻿using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Entity
{
    public class EntityUser:EntityBase
    {
        //public Guid Id;

        [Key]
        public Guid ID { get; set; } = Guid.NewGuid();

        ///// <summary>
        ///// 姓名
        ///// </summary>
        [StringLength(50)]
        [Column("A002")]
        public string? Name { get; set; }


        public List<EntityEntryForm>? EntityEntryForms { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? PhoneNumber { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Emai { get; set; }
        public string? FirstName { get; internal set; }
        public string? LastName { get; internal set; }
    }
    
}